package com.infoauto.opc.gateway.service.impl;

import com.infoauto.opc.gateway.dao.AlsHeavyBindingRecordDao;
import com.infoauto.opc.gateway.model.AlsHeavyBindingRecord;
import com.infoauto.opc.gateway.service.AlsHeavyBindingRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AlsHeavyBindingRecordServiceImpl implements AlsHeavyBindingRecordService {
    @Autowired
    private AlsHeavyBindingRecordDao dao;


    @Override
    public int insert(AlsHeavyBindingRecord alsHeavyBindingRecord) {
        return dao.insert(alsHeavyBindingRecord);
    }

    @Override
    public int update(AlsHeavyBindingRecord alsHeavyBindingRecord) {
        return dao.update(alsHeavyBindingRecord);
    }
}
